github.com/klauspost/compress/flate.huffmanEncoder.codes (field)

36 uses

	github.com/klauspost/compress/flate (current package)
		huffman_bit_writer.go#L164: 	b := w.offsetEncoding.codes
		huffman_bit_writer.go#L173: 	b = w.literalEncoding.codes[256:literalCount]
		huffman_bit_writer.go#L182: 	b = w.literalEncoding.codes[:len(a)]
		huffman_bit_writer.go#L198: 		w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L278: 		cgnl[i] = litEnc.codes[i].len()
		huffman_bit_writer.go#L283: 		cgnl[i] = offEnc.codes[i].len()
		huffman_bit_writer.go#L475: 		value := uint(w.codegenEncoding.codes[codegenOrder[i]].len())
		huffman_bit_writer.go#L486: 		w.writeCode(w.codegenEncoding.codes[codeWord])
		huffman_bit_writer.go#L511: 		w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L540: 		w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L565: 		w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L615: 	w.writeTokens(tokens.Slice(), literalEncoding.codes, offsetEncoding.codes)
		huffman_bit_writer.go#L636: 		w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L648: 		w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L668: 		newSize += int(w.literalEncoding.codes[endBlockMarker].len()) + newSize>>w.logNewTablePenalty
		huffman_bit_writer.go#L677: 			w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L696: 				w.writeTokens(tokens.Slice(), fixedLiteralEncoding.codes, fixedOffsetEncoding.codes)
		huffman_bit_writer.go#L743: 				w.writeTokens(tokens.Slice(), fixedLiteralEncoding.codes, fixedOffsetEncoding.codes)
		huffman_bit_writer.go#L767: 	w.writeTokens(tokens.Slice(), w.literalEncoding.codes, w.offsetEncoding.codes)
		huffman_bit_writer.go#L1070: 			w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_bit_writer.go#L1097: 	encoding := w.literalEncoding.codes[:256]
		huffman_bit_writer.go#L1178: 		w.writeCode(w.literalEncoding.codes[endBlockMarker])
		huffman_code.go#L34: 	codes    []hcode
		huffman_code.go#L86: 	return &huffmanEncoder{codes: make([]hcode, size, 1<<c)}
		huffman_code.go#L92: 	codes := h.codes
		huffman_code.go#L122: 	codes := h.codes
		huffman_code.go#L136: 			total += int(f) * int(h.codes[i].len())
		huffman_code.go#L145: 		total += int(h.codes[f].len())
		huffman_code.go#L155: 			code := h.codes[i]
		huffman_code.go#L328: 			h.codes[node.literal] = newhcode(reverseBits(code, uint8(n)), uint8(n))
		huffman_code.go#L341: 	codes := h.codes[:len(freq)]
		huffman_code.go#L361: 			h.codes[node.literal].set(uint16(i), 1)